package com.svms.save.entitys;

import java.io.Serializable;

/**
 * @author 
 */
public class SvdaZd implements Serializable {
    /**
     * 主键序列
     */
    private Long objectid;

    /**
     * 字典代码
     */
    private String zddm;

    /**
     * 字典名称
     */
    private String zdmc;

    /**
     * 字典简称
     */
    private String zdjc;

    /**
     * 字典简拼
     */
    private String zdjp;

    /**
     * 类型简拼
     */
    private String lxjp;

    /**
     * 类型名称
     */
    private String lxmc;

    /**
     * 上级字典代码
     */
    private String sjzddm;

    /**
     * 操作时间
     */
    private String czsj;

    /**
     * 操作标示
     */
    private String czbs;

    /**
     * 操作人
     */
    private String czr;

    /**
     * 操作单位
     */
    private String czdw;

    private static final long serialVersionUID = 1L;

    public Long getObjectid() {
        return objectid;
    }

    public void setObjectid(Long objectid) {
        this.objectid = objectid;
    }

    public String getZddm() {
        return zddm;
    }

    public void setZddm(String zddm) {
        this.zddm = zddm;
    }

    public String getZdmc() {
        return zdmc;
    }

    public void setZdmc(String zdmc) {
        this.zdmc = zdmc;
    }

    public String getZdjc() {
        return zdjc;
    }

    public void setZdjc(String zdjc) {
        this.zdjc = zdjc;
    }

    public String getZdjp() {
        return zdjp;
    }

    public void setZdjp(String zdjp) {
        this.zdjp = zdjp;
    }

    public String getLxjp() {
        return lxjp;
    }

    public void setLxjp(String lxjp) {
        this.lxjp = lxjp;
    }

    public String getLxmc() {
        return lxmc;
    }

    public void setLxmc(String lxmc) {
        this.lxmc = lxmc;
    }

    public String getSjzddm() {
        return sjzddm;
    }

    public void setSjzddm(String sjzddm) {
        this.sjzddm = sjzddm;
    }

    public String getCzsj() {
        return czsj;
    }

    public void setCzsj(String czsj) {
        this.czsj = czsj;
    }

    public String getCzbs() {
        return czbs;
    }

    public void setCzbs(String czbs) {
        this.czbs = czbs;
    }

    public String getCzr() {
        return czr;
    }

    public void setCzr(String czr) {
        this.czr = czr;
    }

    public String getCzdw() {
        return czdw;
    }

    public void setCzdw(String czdw) {
        this.czdw = czdw;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SvdaZd other = (SvdaZd) that;
        return (this.getObjectid() == null ? other.getObjectid() == null : this.getObjectid().equals(other.getObjectid()))
            && (this.getZddm() == null ? other.getZddm() == null : this.getZddm().equals(other.getZddm()))
            && (this.getZdmc() == null ? other.getZdmc() == null : this.getZdmc().equals(other.getZdmc()))
            && (this.getZdjc() == null ? other.getZdjc() == null : this.getZdjc().equals(other.getZdjc()))
            && (this.getZdjp() == null ? other.getZdjp() == null : this.getZdjp().equals(other.getZdjp()))
            && (this.getLxjp() == null ? other.getLxjp() == null : this.getLxjp().equals(other.getLxjp()))
            && (this.getLxmc() == null ? other.getLxmc() == null : this.getLxmc().equals(other.getLxmc()))
            && (this.getSjzddm() == null ? other.getSjzddm() == null : this.getSjzddm().equals(other.getSjzddm()))
            && (this.getCzsj() == null ? other.getCzsj() == null : this.getCzsj().equals(other.getCzsj()))
            && (this.getCzbs() == null ? other.getCzbs() == null : this.getCzbs().equals(other.getCzbs()))
            && (this.getCzr() == null ? other.getCzr() == null : this.getCzr().equals(other.getCzr()))
            && (this.getCzdw() == null ? other.getCzdw() == null : this.getCzdw().equals(other.getCzdw()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getObjectid() == null) ? 0 : getObjectid().hashCode());
        result = prime * result + ((getZddm() == null) ? 0 : getZddm().hashCode());
        result = prime * result + ((getZdmc() == null) ? 0 : getZdmc().hashCode());
        result = prime * result + ((getZdjc() == null) ? 0 : getZdjc().hashCode());
        result = prime * result + ((getZdjp() == null) ? 0 : getZdjp().hashCode());
        result = prime * result + ((getLxjp() == null) ? 0 : getLxjp().hashCode());
        result = prime * result + ((getLxmc() == null) ? 0 : getLxmc().hashCode());
        result = prime * result + ((getSjzddm() == null) ? 0 : getSjzddm().hashCode());
        result = prime * result + ((getCzsj() == null) ? 0 : getCzsj().hashCode());
        result = prime * result + ((getCzbs() == null) ? 0 : getCzbs().hashCode());
        result = prime * result + ((getCzr() == null) ? 0 : getCzr().hashCode());
        result = prime * result + ((getCzdw() == null) ? 0 : getCzdw().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", objectid=").append(objectid);
        sb.append(", zddm=").append(zddm);
        sb.append(", zdmc=").append(zdmc);
        sb.append(", zdjc=").append(zdjc);
        sb.append(", zdjp=").append(zdjp);
        sb.append(", lxjp=").append(lxjp);
        sb.append(", lxmc=").append(lxmc);
        sb.append(", sjzddm=").append(sjzddm);
        sb.append(", czsj=").append(czsj);
        sb.append(", czbs=").append(czbs);
        sb.append(", czr=").append(czr);
        sb.append(", czdw=").append(czdw);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}